Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(imports): Correct imports of services with no data object #54

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

seriouslag
Copy link
Collaborator

@seriouslag seriouslag commented Apr 10, 2024

We previously imported a data object for each service regardless of whether they had a data object or not.

In this PR, we check all the exports of the services file. From there, we import the services if it ends with Service and the data objects if they end with Data.

We previously we importing a data
object for each service regardless
if they had a data object or not.

In this PR we check all the exports
of the services file. From there we
import the services if they end
"Service" and the data objects if
they end with "Data"
@seriouslag seriouslag requested a review from 7nohe April 10, 2024 03:25
Copy link
Owner

@7nohe 7nohe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@7nohe 7nohe merged commit 82fd246 into main Apr 10, 2024
4 checks passed
@7nohe 7nohe deleted the fix/correct-service-data-object-names branch April 10, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants